<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ taglib uri="http://www.ld.com/system/tags" prefix="system"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
    <table class="tab-show" style="width:98%;">
    	<col width="210">
    	<caption>菜单信息</caption>
        <tr>
	    	<th>
            	<label>父级编号：</label>
        	</th>
         	<td>${model.parentId }</td>
		</tr>
    	<tr>
	    	<th>
            	<label>菜单名称：</label>
        	</th>
         	<td>${model.name }</td>
		</tr>
		<tr>
	    	<th>
            	<label>页面标题：</label>
        	</th>
         	<td>${model.title }</td>
		</tr>
		<tr>
	    	<th>
            	<label>链接：</label>
        	</th>
         	<td>${model.href }</td>
		</tr>
        <tr>
	    	<th>
            	<label>本级排序号(升序)：</label>
        	</th>
         	<td>${model.sort }</td>
		</tr>
        <tr>
	    	<th>
            	<label>页面id：</label>
        	</th>
         	<td>${model.pageId }</td>
		</tr>
        <tr>
	    	<th>
            	<label>页面Class：</label>
        	</th>
         	<td>${model.pageClass }</td>
		</tr> 
        <tr>
	    	<th>
            	<label>菜单类型：</label>
        	</th>
         	<td><c:if test="${model.type == 1 }">菜单</c:if>
			<c:if test="${model.type == 2 }">按钮</c:if></td>
		</tr>
        
        <tr>
	    	<th>
            	<label>目标：</label>
        	</th>
         	<td><c:if test="${model.target == 'iframe' }">iframe</c:if><c:if 
         	test="${model.target == 'dialog' }">弹出窗</c:if><c:if 
			test="${model.target == '_blank' }">新页面</c:if>
         	</td>
		</tr>
        <tr>
	    	<th>
            	<label>图标：</label>
        	</th>
         	<td><c:if test="${not empty model.icon }"><img src="${ctxPath }/${model.icon}">[${model.icon}]</c:if></td>
		</tr>
        <tr>
	    	<th>
            	<label>颜色：</label>
        	</th>
         	<td>${model.color }</td>
		</tr>
        <tr>
	    	<th>
            	<label>权限类型：</label>
        	</th>
         	<td><c:if test="${model.permType == 0 }">不需要权限</c:if>
			<c:if test="${model.permType == 1 }">需要权限</c:if>
			<c:if test="${model.permType == 2 }">登录权限</c:if></td>
		<tr>
        <tr>
	    	<th>
            	<label>是否显示：</label>
        	</th>
         	<td><shield:switchOput data="0=隐藏|显示" value="${model.isShow}"></shield:switchOput></td>
		</tr>
        <tr>
	    	<th>
            	<label>状态：</label>
        	</th>
         	<td><shield:switchOput data="-1=删除|2=停用|3=冻结|正常" value="${model.state}"></shield:switchOput></td>
		</tr>
        <tr>
	    	<th>
            	<label>备注信息：</label>
        	</th>
         	<td>${model.remarks }</td>
		</tr>
		<%-- 
        <tr>
	    	<th>
            	<label>是否最末级：</label>
        	</th>
         	<td>${model.treeLeaf }</td>
		<tr>
        <tr>
	    	<th>
            	<label>层次级别：</label>
        	</th>
         	<td>${model.treeLevel }</td>
		</tr>
        <tr>
	    	<th>
            	<label>全节点名：</label>
        	</th>
         	<td>${model.treeNames }</td>
		</tr>
		--%>
       <%--  
       <tr>
	    	<th>
            	<label>菜单权重：</label>
        	</th>
         	<td>${model.weight }</td>
		<tr> --%>
        <%-- <tr>
	    	<th>
            	<label>归属系统(default:主导航菜单、mobileApp:APP菜单)：</label>
        	</th>
         	<td>${model.sysCode }</td>
		<tr>
        <tr>
	    	<th>
            	<label>归属模块(多个用逗号隔开)：</label>
        	</th>
         	<td>${model.moduleCodes }</td>
		<tr> --%>
        <tr>
	    	<th>
            	<label>创建人：</label>
        	</th>
         	<td>${model.createName }</td>
		</tr>
        <tr>
	    	<th>
            	<label>创建时间：</label>
        	</th>
         	<td class="shieldDatetime">${model.createTime }</td>
		</tr>
        <tr>
	    	<th>
            	<label>修改人：</label>
        	</th>
         	<td>${model.updateName }</td>
		</tr>
        <tr>
	    	<th>
            	<label>修改时间：</label>
        	</th>
         	<td class="shieldDatetime">${model.updateTime }</td>
		</tr>
    </table>
